package hou.just4fun.HupuTweets.model;

/**
 * @author houweitao
 * @date 2016年5月5日 下午4:52:44
 */

public class Tweet {
	private User user;
	private String text;
	private String url;
	private String time;

	public Tweet(User user, String text, String url, String time) {
		super();
		this.user = user;
		this.text = text;
		this.url = url;
		this.time = time;
	}

	public Tweet() {
	}

	@Override
	public String toString() {
		return user.toString() + "--[" + url + "," + text + "]";
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}
}
